package com.example.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

public class UploadDataUtil {
    /**
     * 获得时间字符串
     */
    public static String getNowTime(){
        String id = null;
        Date date=new Date();
        SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmssSSS");
        id = sdf.format(date);
        return id;
    }
}
